package com.edu.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName MsmApplication
 * @date 2022/9/22 15:27
 * @Version 1.0
 */
@EnableDiscoveryClient //开启nacos
@EnableFeignClients //开启feign
@ComponentScan("com.edu")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class MsmApplication {

    //启动类
    public static void main(String[] args) {
        SpringApplication.run(MsmApplication.class,args);
    }

}
